package com.jessechanrui.template.projectcase.infrastructure.demo.support.http.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author huangshan
 * @create 2023/7/6 11:40
 */
@Data
public class DomainTermAddDTO {

	@ApiModelProperty(value = "中文名称", example = "中文名称")
	private String name;

	@ApiModelProperty(value = "英文名称", example = "英文名称")
	@NotNull(message = "enName不能为空")
	private String enName;

	@ApiModelProperty(value = "详细描述",example = "详细描述")
	private String description;

	@ApiModelProperty(value = "名词类型",example = "名词类型")
	private String type;

	@ApiModelProperty(value = "领域分析id",example = "领域分析id")
	private String domainAnalysisId;

	@ApiModelProperty(value = "项目id",example = "项目 id")
	@NotNull(message = "projectId不能为空")
	private String projectId;

    @ApiModelProperty(value = "微服务id")
    private String microServiceId;
}
